class PollsComments < ActiveRecord::Migration
  def self.up
	create_table :polls_comments, :id => false    do|t|
		t.column :comment_id,:string,  :limit => 15
		t.column :answer_id,:string,  :limit => 15
		t.column :section,:integer
		t.column :create_on, :datetime		
		t.column :update_on, :datetime		
		t.column :delete, :string, :limit => 3, :default => 'NO', :null => false
	end
  end

  def self.down
	 drop_table  Polls 
 end
end  
